package cash.cmp.personal_financial_system.mapper;


import cash.cmp.personal_financial_system.model.SysMsg;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysMsgMapper {
    List<SysMsg> findMsgById(Integer objectId);
    SysMsg findMsgByMsgId(String MsgId);
    //删除用户角色对应
    Boolean deleteMsgById(Integer msgId);

    //插入一条信息
    Boolean insertMsg(SysMsg sysMsg);

    Boolean updateMsg(String msgId,Integer type, Integer readState);
}
